<?php
/***************************************************************************
 *   copyright : (C) 2009 Udrea Cristian
 *   site : http://code.google.com/p/testauction-php
 ***************************************************************************/

/***************************************************************************
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU Lesser General Public License as 
 *   published by the Free Software Foundation; either version 2 of the
 *   License, or (at your option) any later version. Although none of the
 *   code may be sold. If you have been sold this script, get a refund.
 ***************************************************************************/
$errorMessage = $form->error("lbox_user")."<br />".$form->error("lbox_pass");
?>
	<table width="100%" align="center" border="0" cellspacing="0" cellpadding="20">
    <tr> 
     <td class="contentArea"> 
		<form action="../process.php" method="post">
			<p>&nbsp;</p>
			<table width="350" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#336699" class="entryTable">
				<tr id="entryTableHeader"> 
				 <td>:: Login Administrator ::</td>
				</tr>
				<tr> 
				 <td class="contentArea"> 
				 <div class="errorMessage" align="center"><?php echo $errorMessage; ?></div>
				  <table width="100%" border="0" cellpadding="2" cellspacing="1" class="text">
				   <tr align="center"> 
					<td colspan="3">&nbsp;</td>
				   </tr>
				   <tr class="text"> 
					<td width="100" align="right">Utilizator</td>
					<td width="10" align="center">:</td>
					<td><input type="text" class="box" name="lbox_user" id="lbox_user" value="<? echo $form->value("lbox_user"); ?>" size="15" maxlength="30"></td>
				   </tr>
				   <tr> 
					<td width="100" align="right">Parola</td>
					<td width="10" align="center">:</td>
					<td><input type="password" class="box" name="lbox_pass" id="lbox_pass" value="<? echo $form->value("lbox_pass"); ?>" size="15" maxlength="32"></td>
				   </tr>
				   <tr> 
					<td colspan="2">&nbsp;</td>
					<td>
						<input type="submit" class="box" name="btnLogin" id="btnLogin" value="Login">
						<input type="hidden" name="remember" value="0">
						<input type="hidden" name="subloginadmin" value="1">
					</td>	
				   </tr>
				  </table></td>
				</tr>
			</table>
			<p>&nbsp;</p>
       </form>
	  </td>
    </tr>
   </table>
